package lab02.test35;

/**
 * Created by 14394 on 2017/11/13.
 */
public class JavaApplication {
    public static void main(String[] args) {
        Manager m=new Manager(8000f);
        Salesman s=new Salesman(2500f,1800f);
        Worker w=new Worker(28,100f);
        System.out.println("经理的工资："+m.computerSalary());
        System.out.println("销售人员的工资："+s.computerSalary());
        System.out.println("普通员工的工资："+w.computerSalary());
    }
}
